unit ModifyVarFrm;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, Buttons;

type
  TModifyVarForm = class(TForm)
    OkBtn: TBitBtn;
    CancelBtn: TBitBtn;
    VarNameLabel: TLabel;
    NameEdit: TEdit;
    ValueEdit: TEdit;
    ValueLabel: TLabel;
    procedure FormCreate(Sender: TObject);
  private
    procedure LoadText;
    { Private declarations }
  public
    { Public declarations }
  end;

var
  ModifyVarForm: TModifyVarForm;

implementation

uses MultiLangSupport;

{$R *.dfm}

procedure TModifyVarForm.LoadText;
begin
  Caption := Lang.Strings[ID_NV_MODIFYVALUE];
  VarNameLabel.Caption := Lang.Strings[ID_NV_VARNAME];
  ValueLabel.Caption := Lang.Strings[ID_NV_VARVALUE];
  OkBtn.Caption := Lang.Strings[ID_BTN_OK];
  CancelBtn.Caption := Lang.Strings[ID_BTN_CANCEL];
end;

procedure TModifyVarForm.FormCreate(Sender: TObject);
begin
  LoadText;
end;

end.
